package com.pet.web.controller.wechat.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

@ApiModel
public class WxBrandListBody {

    @ApiModelProperty(required = true, value = "商家ID")
    private Long userId;

    @ApiModelProperty(required = true, value = "openid")
    private String openid;

    @ApiModelProperty(value = "类目", required = true)
    private String category;

    @NotBlank(message = "openid不能为空")
    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    @NotBlank(message = "userId不能为空")
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @NotBlank(message = "类目不能为空")
    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }
}
